@unify-space: 24rpx;

page {
  background-color: var(--bg-color);
}

.home-statis {
  font-size: 24rpx;
  background-color: #fff;
  padding: @unify-space;

  &__box {
    padding: 28rpx;
    height: 220rpx;
    color: #fff;
    box-sizing: border-box;
    border-radius: var(--default-radius);
  }

  &__surplus {
    width: 55%;
    margin-right: @unify-space;
    background-color: #7f98c1;
    display: flex;
    justify-content: space-between;

    .surplus__left {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
    }

    .surplus__right {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: space-between;
      font-size: 26rpx;

      &--quota {
        .quota-number {
          justify-content: flex-end;
          margin-bottom: 18rpx;

          &--icon {
            height: 26rpx;
            width: 26rpx;
            margin-right: 12rpx;
          }
        }

        .quota-text {
          font-size: 50rpx;
          font-weight: bold;
          text-align: right;
          margin-right: 8px;
        }
      }

      &--last {
        font-size: 26rpx;
        display: flex;
        align-items: center;
      }
    }
  }

  &__today {
    width: 45%;
    background-color: #44b585;
    position: relative;
    font-size: 26rpx;

    .today-money {
      margin-top: 26rpx;
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;

      &__text {
        font-size: 50rpx;
        line-height: 50rpx;
        font-weight: bold;
        margin-right: 8px;
      }

    }

    &--icon {
      position: absolute;
      bottom: 28rpx;
      right: 36rpx;
      height: 30rpx;
      width: 55rpx;
    }
  }
}

.home-title {
  font-weight: bold;
  font-size: 32rpx;
  letter-spacing: 1rpx;
  color: #000;
  margin-bottom: 16rpx;
}

.menu {
  padding: @unify-space;

  &-container {
    display: flex;
    justify-content: space-between;

    &__item {
      &--icon {
        height: 100rpx;
        width: 100rpx;
        border-radius: var(--default-radius);
        background-color: #fff;
        margin-bottom: 16rpx;
      }

      &--text {
        color: #666;
        font-size: 22rpx;
        text-align: center;
      }
    }
  }
}

// 待办事项
.backlog {
  padding: @unify-space;
  background-color: #fff;
  margin-bottom: @unify-space;

  &-item {
    display: flex;
    align-items: center;
    padding: @unify-space;
    border-bottom: 1px solid #f0f0f0;

    &--icon {
      height: 76rpx;
      width: 76rpx;
      border-radius: 24rpx;
      background-color: #c05858;
      margin-right: 16rpx;
    }

    &--title {
      font-size: 28rpx;
      margin-bottom: 12rpx;
    }

    &--remark {
      font-size: 24rpx;
      color: #999;
    }
  }
}

.zw {
  padding: @unify-space;
  background-color: #fff;
  height: 360rpx;
}